package com.bw.liuyushan.zhuangao4_weektest2.MVP.Contrack;

import com.bw.liuyushan.mvp_lib.Model.IModel;
import com.bw.liuyushan.mvp_lib.View.IView;
import com.bw.liuyushan.zhuangao4_weektest2.Entity.GiftBean;
import com.bw.liuyushan.zhuangao4_weektest2.Entity.UserBean;
import com.bw.liuyushan.zhuangao4_weektest2.Entity.VideoBean;

import io.reactivex.Observer;

/**
 * ZhuanGao4_WeekTest2
 * file name is : IContrackTest
 * created by Ender on 2021/8/23 8:26.
 * author : 刘雨杉
 * Describe(作用):
 */
public interface IContrackTest {
    interface C_ModelTest extends IModel{
        public void askVideo(String url, Observer<VideoBean> observer);
        public void asklogin(String username, String password, Observer<UserBean> observer);
        public void askreg(String username, String password,String repassword, Observer<UserBean> observer);
        public void askGift(Observer<GiftBean> observer);

    }
    interface C_ViewTest extends IView {
        default public void ShowVideo(VideoBean videoBean) {

        }
        default public void ShowLogin(UserBean userBean) {

        }
        default public void ShowReg(UserBean userBean) {

        }
        default public void ShowGift(GiftBean giftBean) {

        }

    }
}
